body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #789EC3;
    overflow-x: hidden;
}

/* BACKGROUND */
.team-poster {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: url('team.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
}

/* HEADER */
.header {
    height: 90px;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* LAYOUT */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 10%;
    position: relative;
    z-index: 6;
    gap: 60px;
}

/* TEXT */
.text-content {
    max-width: 520px;
    animation: slideLeft 1s ease forwards;
    opacity: 0;
}

.text-content h1,
.text-content h2 {
    margin: 0;
    font-size: 72px;
    font-weight: 900;
    line-height: 0.9;
}

.text-content h1 {
    color: #24496d;
}

.text-content h2 {
    color: #42d9c8;
}

.text-content p {
    margin-top: 20px;
    color: #555;
    font-size: 20px;
    line-height: 1.6;
}

/* IMAGE BOX */
.image-box {
    text-align: center;
    animation: floatIn 1.2s ease forwards;
    opacity: 0;
}

/* MODERN CARD */
.name-container-main {
    width: 340px;
    height: 340px;
    border-radius: 28px;

    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    transition: all 0.5s ease;
}

/* IMAGE */
.name-container-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* FALLBACK */
.fallback {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 48px;
    font-weight: bold;
    color: #24496d;
    background: #fff;
}

/* 🔥 CENTER SPOTLIGHT EFFECT (MAIN FIX) */
.spotlight {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(66, 217, 200, 0.08) 40%,
            rgba(0, 0, 0, 0.35) 100%);
}

/* HOVER EFFECT */
.name-container-main:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.30),
        0 0 40px rgba(66, 217, 200, 0.20);
}

/* TEXT BELOW IMAGE */
.image-box h4 {
    margin-top: 18px;
    font-size: 22px;
    color: #24496d;
}

.image-box small {
    color: #666;
}

/* ANIMATIONS */
@keyframes floatIn {
    0% {
        transform: translateY(60px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(-60px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

svg {
    position: absolute;
    top: 0;
    transform: translateY(-90%);
}

.team-container {
    background-color: #789EC3;
    margin-top: 170px;
    padding: 80px 10%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* ✅ 4 columns */
    gap: 40px;

    align-items: start;
}










.member {
    text-align: center;
    z-index: 6;
    color: white;
    width: 160px;
}

.member img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    background: #fff;
    padding: 8px;
}

.member h4 {
    margin: 14px 0 4px;
    font-size: 18px;
}

.member small {
    font-size: 13px;
    color: #f2f2f2;
}

/* featured member */
.top-member {
    top: 150px;
    right: 90px;
}

/* image frame decoration */
.member-cntainer {
    position: relative;
}

.member-cntainer::after,
.member-cntainer::before {
    content: "";
    position: absolute;
    height: 100px;
    width: 100px;
    z-index: 999;
}

.member-cntainer::after {
    left: -3px;
    bottom: -7px;
    border-left: 3px solid #24496d;
    border-bottom: 3px solid #24496d;
}

.member-cntainer::before {
    right: -3px;
    top: -7px;
    border-right: 3px solid #24496d;
    border-top: 3px solid #24496d;
}

/* bottom row */
.members-row {
    position: relative;
    bottom: 90px;
    left: 80px;
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    z-index: 6;
}

.members-row .member {
    position: relative;
}

.name-container {
    height: 190px;
    width: 190px;
    background-color: #fff;
    color: #24496d;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* display: block; */
    margin: 0 auto;
}

.circle {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: #789EC3;

    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 25px;
    margin: 0 auto;
}

.contact-cards h5 {
    color: #789EC3 !important;
}

.image-container {
    height: 200px;
    width: 200px;
    background-color: #fff;
    color: #24496d;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* display: block; */
    margin: 0 auto;
}

.map-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    justify-content: center;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    background: transparent !important;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    /* background: #333; */
    /* color: #fff; */
    color: #789EC3;
    /* font-weight: bold; */
    border-bottom: 2px solid #789EC3;
}

.tab-content {
    display: none;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.tab-content.active {
    display: block;
}

.tab-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
